import Cookies from 'js-cookie'

const WarehouseKey = 'xy_warehouse'

export function getWarehouse() {
  return Cookies.get(WarehouseKey)
}

export function setWarehouse(value) {
  return Cookies.set(WarehouseKey, value)
}

export function removeWarehouse() {
  return Cookies.remove(WarehouseKey)
}
